package com.yida.gwj.api.domain.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author lqq
 * @date 2023-01-10
 */
@ApiModel("分类账流水详情")
public class GwjFinanceAccountDetailDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("总流水编号")
	private Long accountDetailId;

	@ApiModelProperty("业务ID")
	private Long bizId;

	@ApiModelProperty("业务流水编号")
	private Long bizNum;

	@ApiModelProperty("财务流水类型 业务标识ID")
	private Long bizFlagId;

	@ApiModelProperty("银行名称")
	private String bankName;

	@ApiModelProperty("银行账户类型：1:原始账户,2:本金户,3:结算户")
	private String bankAccountType;

	@ApiModelProperty("收入金额")
	private BigDecimal incomeMoney;

	@ApiModelProperty("支出金额")
	private BigDecimal payMoney;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty("交易发生时间")
	private Date checkTime;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty("交易发生时间")
	private Date dealTime;

	@ApiModelProperty("交易编号")
	private String dealId;

	@ApiModelProperty("账单编号")
	private String billId;

	@ApiModelProperty("对账状态：0:未对账，1:对账成功，2,对账失败")
	private String checkStatus;

	@ApiModelProperty("对账方式")
	private String checkType;

	public Long getAccountDetailId() {
		return accountDetailId;
	}

	public void setAccountDetailId(Long accountDetailId) {
		this.accountDetailId = accountDetailId;
	}

	public Long getBizId() {
		return bizId;
	}

	public void setBizId(Long bizId) {
		this.bizId = bizId;
	}

	public Long getBizNum() {
		return bizNum;
	}

	public void setBizNum(Long bizNum) {
		this.bizNum = bizNum;
	}

	public Long getBizFlagId() {
		return bizFlagId;
	}

	public void setBizFlagId(Long bizFlagId) {
		this.bizFlagId = bizFlagId;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankAccountType() {
		return bankAccountType;
	}

	public void setBankAccountType(String bankAccountType) {
		this.bankAccountType = bankAccountType;
	}

	public BigDecimal getIncomeMoney() {
		return incomeMoney;
	}

	public void setIncomeMoney(BigDecimal incomeMoney) {
		this.incomeMoney = incomeMoney;
	}

	public BigDecimal getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(BigDecimal payMoney) {
		this.payMoney = payMoney;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	public String getDealId() {
		return dealId;
	}

	public void setDealId(String dealId) {
		this.dealId = dealId;
	}

	public String getBillId() {
		return billId;
	}

	public void setBillId(String billId) {
		this.billId = billId;
	}

	public String getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus;
	}

	public String getCheckType() {
		return checkType;
	}

	public void setCheckType(String checkType) {
		this.checkType = checkType;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjFinanceAccountMainDTO{");
		sb.append("accountDetailId=").append(accountDetailId);
		sb.append(", bizId=").append(bizId);
		sb.append(", bizNum=").append(bizNum);
		sb.append(", bizFlagId=").append(bizFlagId);
		sb.append(", bankName='").append(bankName).append('\'');
		sb.append(", bankAccountType='").append(bankAccountType).append('\'');
		sb.append(", incomeMoney=").append(incomeMoney);
		sb.append(", payMoney=").append(payMoney);
		sb.append(", checkTime=").append(checkTime);
		sb.append(", dealTime=").append(dealTime);
		sb.append(", dealId='").append(dealId).append('\'');
		sb.append(", billId='").append(billId).append('\'');
		sb.append(", checkStatus='").append(checkStatus).append('\'');
		sb.append(", checkType='").append(checkType).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
